package assem;

import temp.Label;
import temp.Temp;
import util.List;

public class OPER extends Instr {

	public temp.TempList dst;
	public temp.TempList src;
	public Targets jump;

	public OPER(String a, List<Temp> d, List<Temp> s, List<Label> j, Integer c) {
		assem = a;
		use = s;
		def = d;
		jumps = j;
		cons = c;
	}

	@Override
	public temp.TempList use() {
		return src;
	}

	@Override
	public temp.TempList def() {
		return dst;
	}

	@Override
	public Targets jumps() {
		return jump;
	}

}
